package com.linked.pay.points.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2023/2/27 13:31
 * @description : desc
 */
@TableName("pay_points_info")
@Data
public class PointsInfoPO {
    @TableId(value = "points_id",type = IdType.ASSIGN_UUID)
    private String pointsId;
    @TableField("user_id")
    private String userId;
    @TableField("point")
    private Integer point;
    @TableField("total_points")
    private Integer totalPoints;
    @TableField("point_name")
    private String pointName;
    @TableField("if_final")
    private Integer ifFinal;
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
